<template>
	<view>
		<u-popup
			:show="show" 
			mode="bottom"  
			round="10"
			@close="close" 
			@open="open"
			closeable
			:customStyle="Style">
			<view>
				<view class="bg-white">
					<view class="padding">
						1
					</view>
				</view>
			</view>
		</u-popup>
	</view>
</template>

<script>
	export default {
		props: {
			show: {
				type: Boolean,
				default: false,
			}
		},
		data() {
			return {
				Style:{
					bottom:20+'px',
					width:95 + '%',
					margin:'auto',
					borderRadius: '15px',
					padding:'10px'
				}
			};
		},
		methods:{
			close(){
				this.$emit('couponPopup',{type:'colse',data:0})
			},
			open(){
				
			}
		}
	}
</script>

<style lang="less">

</style>
